// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//引入elementui框架
import ElementUI from 'element-ui'
//全局引入element ui的css
import 'element-ui/lib/theme-chalk/index.css'
//引入axios http请求框架
import axios from '@/utils/request'  // 引入我们自定义的axios实例

//引入Mock框架
import '@/mock'

Vue.config.productionTip = false

Vue.use(ElementUI)

Vue.prototype.$axios = axios

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')